package lab02.test07;

/**
 * Created by mac on 2017/10/19.
 */
public class Test {

    public static void main(String[] args) {

        Person chen = new Person();
        chen.name = "chengongsuo";
        chen.age = 20;
        chen.idcard = "123456789";

        System.out.println(chen.getString());

        Student zhen = new Student();
        zhen.name = "zhen";
        zhen.age = 20;
        zhen.idcard = "2638462913747";
        zhen.sno = "10273644";
        zhen.university = "sctu";

        System.out.println(zhen.getString());
    }

}
